/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Charge.Model;

namespace JDCloudSDK.Es.Model
{

    /// <summary>
    ///  instance
    /// </summary>
    public class Instance
    {

        ///<summary>
        /// 实例ID
        ///</summary>
        public string InstanceId{ get; set; }
        ///<summary>
        /// 实例名称
        ///</summary>
        public string InstanceName{ get; set; }
        ///<summary>
        /// 实例版本，目前支持5.6.9和6.5.4两个版本
        ///</summary>
        public string InstanceVersion{ get; set; }
        ///<summary>
        /// 实例状态，running：运行，error：错误，creating：创建中，changing：变配中，stop：已停止，processing：处理中
        ///</summary>
        public string InstanceStatus{ get; set; }
        ///<summary>
        /// 实例的配置信息
        ///</summary>
        public InstanceClass InstanceClass{ get; set; }
        ///<summary>
        /// 创建时间，遵循ISO8601标准，使用UTC时间，格式为：YYYY-MM-DDTHH:mm:ssZ
        ///</summary>
        public DateTime? CreateTime{ get; set; }
        ///<summary>
        /// AZ信息，各AZ编码详见：https://docs.jdcloud.com/cn/jcs-for-elasticsearch/restrictions
        ///</summary>
        public string AzId{ get; set; }
        ///<summary>
        /// 所属VPC的ID
        ///</summary>
        public string VpcId{ get; set; }
        ///<summary>
        /// 所属子网的ID
        ///</summary>
        public string SubnetId{ get; set; }
        ///<summary>
        /// 计费信息
        ///</summary>
        public JDCloudSDK.Charge.Model.Charge Charge{ get; set; }
        ///<summary>
        /// 内网地址
        ///</summary>
        public InternalEndpoint InternalEndpoint{ get; set; }
        ///<summary>
        /// deprecated，见internalEndpoint
        ///</summary>
        public string Endpoint{ get; set; }
        ///<summary>
        /// kibana地址
        ///</summary>
        public string KibanaUrl{ get; set; }
        ///<summary>
        /// head地址
        ///</summary>
        public string HeadUrl{ get; set; }
        ///<summary>
        /// 值为v4&amp;v6时支持ipv6和ipv4, 值为空时仅支持ipv4
        ///</summary>
        public string IpVersion{ get; set; }
        ///<summary>
        /// Tag信息
        ///</summary>
        public List<Tag> Tags{ get; set; }
        ///<summary>
        /// 是否开启了专用主节点，true为开启，false为不开启
        ///</summary>
        public bool DedicatedMaster{ get; set; }
        ///<summary>
        /// 是否开启了协调节点，true为开启，false为不开启
        ///</summary>
        public bool Coordinating{ get; set; }
        ///<summary>
        /// kibana floatIp地址
        ///</summary>
        public string KibanaFiUrl{ get; set; }
    }
}
